package com.zzl.car.controller;

import com.zzl.car.service.CarBaseInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
public class ZdpUserRentCar {
    @Autowired
    private CarBaseInfoService carBaseInfoService;
  /*
  * 购物页车辆品牌的显示
  * */
  @GetMapping("/getBrand")
    public List<String> getBrand(){
      return carBaseInfoService.getAllBrand();
  }
}
